#ifndef ASTACK_H
#define ASTACK_H
#include "C.h"
template<class T>
class AStack{
public:
	void ClearStack();
	bool StackEmpty() const;
	int StackLength() const;
	bool GetTop(T &e) const;
	bool Push(T e);
	bool Pop(T &e);
	void StackTraverse(void(*visit)(T*))const;

};

#endif